package vip.xiaonuo.dev.modular.wechat.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 微信前端加密接受参数
 * @author xsl
 * @date 2024-08-13 09:12
 **/
@Getter
@Setter
@ToString
public class WechatConfigParam {

    public WechatConfigParam(String appId) {
        this.appId = appId;
    }

    /** 错误码 */
    @Schema(description = "appId")
    private String appId;

    /** 时间戳 */
    @Schema(description = "时间戳")
    private Long timestamp;

    /** 随机字符串 */
    @Schema(description = "随机字符串")
    private String nonceStr;

    /** 加密签名 */
    @Schema(description = "加密签名")
    private String signature;

    /** jsapi_ticket */
    @Schema(description = "jsapi_ticket")
    private String jsapi_ticket;

    /** 页面url */
    @Schema(description = "页面url")
    private String url;
}
